using Engine.OldSerialization;

namespace RuthlessConquest {
    public class CreateGameMessage : Message {
        public class Serializer : ISerializer<CreateGameMessage> {
            public void Serialize(InputArchive archive, ref CreateGameMessage value) {
                archive.Serialize("CreationParameters", ref value.CreationParameters);
            }

            public void Serialize(OutputArchive archive, CreateGameMessage value) {
                archive.Serialize("CreationParameters", value.CreationParameters);
            }
        }

        public GameCreationParameters CreationParameters;
    }
}